/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ejemplos;


public class xcv {
public static void main(String[] args) {
    Double x = 0.0;
    Float c= x.floatValue();
    System.out.println("Float:"+c);

    Double e= c.doubleValue();
    System.out.println("Double:"+e);

    String s= e.toString();
    System.out.println("String:"+ s);

    System.out.println("Integer:"+Integer.parseInt(s.substring(0,s.length()-2)));
//conbersionses de tipo
}
}
